package cate.game.role.pvp.throne.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBTB;
import cate.game.pvp.throne.data.ko.TBKoCurBet;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "当前竞猜场次 の 更新")
public class TBKoCurBetUpdate implements MsgOutput {

    @NoteField("简要信息")
    public TBKoCurBet.SimpleInfo simple;

    @Override
    public MsgConfig conf() {
        return MsgIdBTB.CUR_BET_UPDATE;
    }

    public TBKoCurBetUpdate() {
    }

    public TBKoCurBetUpdate(TBKoCurBet curBet) {
        if (curBet == null) {
            return;
        }
        this.simple = curBet.buildSimple();
    }
}
